package com.RedRiver.hospitalsystem.finance_service.common.exception;

import com.RedRiver.hospitalsystem.exception.RedRiverHISException;
import com.RedRiver.hospitalsystem.finance_service.common.Finance_serviceResultCode;

public class BillException extends RedRiverHISException {
    public BillException(Integer code, String message) {
        super(code, message);
    }

    public BillException(Finance_serviceResultCode error){
        super(error.getCode(),error.getMessage());
    }
}
